import Vue from 'vue'
import Router from 'vue-router'
const _import = require('src/utils/utils_import/vue_' + process.env.NODE_ENV)


Vue.use(Router)

var router = new Router({
  routes: [
    {
      path: '/',
      component: _import('views/json_view'),
      meta: {
        title: 'tree_table',
        icon: 'sjzz'
      },
    },
    {
      path: '/config',
      component: _import('views/config_view'),
      meta: {
        title: 'tree_table',
        icon: 'sjzz'
      },
    }
  ]
})

export default router;